<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="__STATIC__/admin/hui/lib/html5shiv.js"></script>
    <script type="text/javascript" src="__STATIC__/admin/hui/lib/respond.min.js"></script>
    <![endif]-->
    <link href="__STATIC__/admin/hui/static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />

    <link href="__STATIC__/admin/hui/static/h-ui.admin/css/sys.min.css" rel="stylesheet" type="text/css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="__STATIC__/admin/hui/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <style>
		input::-webkit-input-placeholder {
			color: #a6aebf;
		}

		input::-moz-placeholder { /* Mozilla Firefox 19+ */
			color: #a6aebf;
		}

		input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
			color: #a6aebf;
		}

		input:-ms-input-placeholder { /* Internet Explorer 10-11 */
			color: #a6aebf;
		}

		input:-webkit-autofill { /* 取消Chrome记住密码的背景颜色 */
			-webkit-box-shadow: 0 0 0 1000px white inset !important;
		}
		html {
			height: 100%;
		}
	</style>
    <title>{:cache('systemsystem' . cookie('think_var'))['title']['value']}</title>
    <meta name="keywords" content="CZQ">
    <meta name="description" content="网站后台模板，中小型CMS后台系统">
</head>
<body>
<input type="hidden" id="TenantId" name="TenantId" value="" />
<!--<div class="header"></div>-->
<body id="body" style="height: 684px; background: url(&quot;{:\\think\\Request::instance()->domain()}/public/static/admin/hui/static/h-ui.admin/images/demo2.png&quot;) 0% 0% / cover no-repeat; position: static;">
    
<div class="main-body no-qrcode">
	<!-- 登录界面 -->
	<div class="new-login">
		<div class="top">
			{:cache('systemsystem' . cookie('think_var'))['title']['value']}
			<span class="bg1"></span>
			<span class="bg2"></span>
        </div>
        <form class="form form-horizontal" name="login" action="{:url('pub/login')}" method="post" id="form">
		<div class="bottom">
			<div class="center">
				<div class="item">
					<span class="icon icon-1"></span>
					<input type="text" id="loginCacct" placeholder="请输入企业帐号" name="name" maxlength="35" autocomplete="off"  datatype="*" nullmsg="请填写帐号" style="background-image: url(&quot;&quot;); background-repeat: no-repeat; background-attachment: scroll; background-size: 16px 18px; background-position: 98% 50%; cursor: pointer;">
				</div>
				<div class="item">
					<span class="icon icon-3"></span>
					<input type="password" id="loginPwd" placeholder="请输入密码" name="password" maxlength="20" autocomplete="off"  datatype="*" nullmsg="请填写密码" style="background-image: url(&quot;&quot;); background-repeat: no-repeat; background-attachment: scroll; background-size: 16px 18px; background-position: 98% 50%;">
					<span class="icon icon-4"></span>
				</div>
                <div id="validatePanel" class="item" style="width: 137px;">
                    <span class="icon icon-1"></span>
                    <input class="input-text size-L" type="text" name="captcha" placeholder="验证码" style="width:100px;min-width: auto" datatype="*" nullmsg="请填写验证码">
                    <img id="captcha" class="validateImg" src='{:captcha_src()}' onclick='this.src = "{:captcha_src()}"' alt='验证码' title='看不清验证码，点击刷新!'  />
					
				</div>
                <div class="error">密码错误，请重新输入或找回密码</div>
                <input name="" type="submit" class="deal"  value="立即登录">
			</div>
			<div class="tip hide">
				<span class="icon-nocheck" id="autoLogin"></span>
				<span class="login-tip">两周内自动登录</span>
				<a href="javascript:" onclick="openPassword()" class="no-pwd">忘记密码？</a>
            </div>
        </div>
        </form>
	</div>

</div>
<div class="foot">
	<a id="beian" href="{:\\think\\Request::instance()->domain()}" target="_blank" rel="nofollow" style="margin-right: 15px;">Copyright @ by {:\\think\\Request::instance()->domain()}</a>
</div>

<script type="text/javascript" src="__STATIC__/admin/hui/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__STATIC__/admin/hui/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="__STATIC__/admin/hui/lib/Validform/v5.3.2/Validform_v5.3.2_min.js"></script>

<script>
    $(function () {
        $('#demo').change(function(){
            var ss = $(this).children('option:selected').attr('value');
            $('[name=login]').attr('action', ss);
        });
    });

        $("#form").Validform({
            tiptype:2,
            ajaxPost:true,
            showAllError:true,
            callback:function(data){

                if(data.url){
                    location.href = data.url;
                }
                if(data.status=="y"){

                    location.href = '{$Request.get.callback ?: \\think\\Url::build("Index/index")}';
                }else{
                    setTimeout(function(){
                        $.Hidemsg(); //公用方法关闭信息提示框;显示方法是$.Showmsg("message goes here.");
                    },1500);
                    $("#captcha").click();
                    $("[name='captcha']").val('');
                }
            }
        });
</script>